from django.db import models

# Create your models here.
class Interview(models.Model):
    company = models.CharField('面试公司名称',max_length=30)
    city = models.CharField('面试城市',max_length=30)
    way = models.CharField('面试方式',max_length=20)
    time = models.DateTimeField('面试时间')
    name = models.CharField('面试人员姓名',max_length=10)
    status = models.IntegerField('面试状态',default=0)
    reason = models.CharField('面试失败原因',max_length=300,default='无')
    record_src = models.FileField(default='无')
    # record_src = models.CharField('录音上传',max_length=100)
    question = models.CharField('面试问题',max_length=300,default='无')
    sumup = models.CharField('面试后总结',max_length=400,default='无')
    addtime=models.DateTimeField('预约提交时间',auto_now_add=True,null=True)
    progress=models.IntegerField('面试进度',default=0,null=True)
    class Meta:
        db_table = 'interview'
